package com.linxz.ui.spraycarview;

import java.util.List;

public class SprayItem2 {
    private String id;
    private String title;
    private List<SprayItem3> list;
    private int direction;
    private String selectedId ;
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<SprayItem3> getList() {
        return list;
    }

    public void setList(List<SprayItem3> list) {
        this.list = list;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public String getSelectedId() {
        return selectedId;
    }

    public void setSelectedId(String selectedId) {
        this.selectedId = selectedId;
    }

    public void checkSpray(){
        setSelectedId(getList().get(0).getId());
    }
    public void checkNull(){
        setSelectedId(null);
    }
}
